const { write_plain } = require("../utils/file_tool");
const { BaseCommand } = require("./base");

class WritePlainCommand extends BaseCommand {
    async execute() {
        const data = this.selfData;
        const content = this.content;
        write_plain(data.dst, content, data.options);
    }

    getRequireContent() {
        return true;
    }
}

module.exports = {
    WritePlainCommand,
};
